/* 
 * This code may be freely distributed
 * and used for any non-commericial purpose, as long as its copyright 
 * notice is retained.  The author assumes absolutely no responsibility 
 * for any harm caused by bugs in the code.
 **/ 

/* 
 * CSFNode.java - coded By st0le [st0le'n'stuff softwarez!] 
 * Website : http://st0lenc0des.googlepages.com 
 * Copyright (c) st0le 2007 
 */ 

package dcc.shannonfano;

/**
 * The Class Node.
 */
public class Node{
	
	/** The ch. */
	public char ch;
	
	/** The freq. */
	public long freq;
	
	/** The sf code. */
	public String sfCode;
	
	/**
	 * Instantiates a new node.
	 */
	Node(){
		ch = 0;
		freq = 0;
		sfCode = "";
		}
	
	/**
	 * Instantiates a new node.
	 *
	 * @param c the c
	 * @param f the f
	 * @param code the code
	 */
	Node(char c,long f,String code){
		ch = c;
		freq = f;
		sfCode = code;
		}

}

